package com.soft.javase.day06.regex;

/**
 * @author yzh
 * @desc TODO
 * @date 2025/4/24
 */
public class Person {
    private String name;
    private String gender;
    private int age;
    private String qqNumber;

    public Person(String name, String gender, int age, String qqNumber) {
        this.name = name;
        this.gender = gender;
        this.age = age;
        this.qqNumber = qqNumber;
    }

    public String getName() {
        return name;
    }

    public String getGender() {
        return gender;
    }

    public int getAge() {
        return age;
    }

    public String getQqNumber() {
        return qqNumber;
    }

    @Override
    public String toString() {
        return "Person{" +
                "name='" + name + '\'' +
                ", gender='" + gender + '\'' +
                ", age=" + age +
                ", qqNumber='" + qqNumber + '\'' +
                '}';
    }
}
